x86: collect global CMT information
authorDongxiao Xu <dongxiao.xu@intel.com>
Mon, 6 Oct 2014 10:42:32 +0000 (12:42 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 6 Oct 2014 10:42:32 +0000 (12:42 +0200)
commit78ec83170a25b7b7cfd9b5f0324bacdb8bed10bf
tree7eda0b696c86a50943081bbf4b77f39066933e5f
parentc80c2b4bf07212485a9dcb27134f659c741155f5
x86: collect global CMT information

This implementation tries to put all policies into user space, thus some
global CMT information needs to be exposed, such as the total RMID count,
L3 upscaling factor, etc.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Chao Peng <chao.p.peng@linux.intel.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
xen/arch/x86/cpu/intel_cacheinfo.c
xen/arch/x86/sysctl.c
xen/include/asm-x86/cpufeature.h
xen/include/public/sysctl.h